﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Select1.aspx.cs" Inherits="Guide.Select1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
       <%-- <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="ProvinceID"
            AllowPaging="True" AllowSorting="True">
            <Columns>
                <asp:TemplateField HeaderText="ProvinceCName">
                    <ItemTemplate>
                        <asp:Label ID="ProvinceCName" runat="server" Text='<%# Eval("ProvinceCName") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="ProvinceCName">
                    <ItemTemplate>
                        <asp:Label ID="ClusterID" runat="server" Text='<%#  Eval("ClusterID") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="是否党员">
                    <ItemTemplate>
                        <asp:CheckBox ID="CheckBox1" runat="server" Checked='<%#Convert.ToBoolean(1)%>'>
                        </asp:CheckBox>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="ProvinceCName" HeaderText="ProvinceCName" SortExpression="ProvinceCName" />
                <asp:BoundField DataField="ClusterID" HeaderText="ClusterID" SortExpression="ClusterID" />
            </Columns>
        </asp:GridView>--%>
        <asp:GridView ID="GridView2" runat="server" >
            <Columns>
                <asp:TemplateField HeaderText="Cluster">
                    <ItemTemplate>
                        <asp:Label ID="ClusterName" runat="server" Text='<%# Eval("ClusterName") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="ProvinceNum">
                    <ItemTemplate>
                        <asp:Label ID="ProvinceNum" runat="server" Text='<%#  Eval("ProvinceNum") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="是否打印">
                    <ItemTemplate>
                        <asp:CheckBox ID="CheckBox1" runat="server" Checked='<%#Convert.ToBoolean(1)%>'>
                        </asp:CheckBox>
                    </ItemTemplate>
                </asp:TemplateField>
                <%--<asp:BoundField DataField="ProvinceCName" HeaderText="ProvinceCName" SortExpression="ProvinceCName" />
                <asp:BoundField DataField="ClusterID" HeaderText="ClusterID" SortExpression="ClusterID" />--%>
            </Columns>
        </asp:GridView>
    </div>
    <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Button" />
    </form>
</body>
</html>
